Hoogle Search

Within LTS Haskell 22.19 (ghc-9.6.4)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readFile :: FilePath -> IO String

    base Prelude

    The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.

  2. readFile :: FilePath -> IO String

    base System.IO

    The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.

  3. readFile' :: FilePath -> IO String

    base System.IO

    The readFile' function reads a file and returns the contents of the file as a string. The file is fully read before being returned, as with getContents'.

  4. readFile :: FilePath -> IO String

    amazonka-core Amazonka.Prelude

    The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.

  5. readFile' :: FilePath -> IO String

    base-compat System.IO.Compat

    The readFile' function reads a file and returns the contents of the file as a string. The file is fully read before being returned, as with getContents'.

  6. readFile :: FilePath -> IO String

    hedgehog Hedgehog.Internal.Prelude

    The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.

  7. readFileUTF8 :: FilePath -> IO String

    extra Extra

    Like readFile, but with the encoding utf8.

  8. readFileBinary :: FilePath -> IO String

    extra Extra

    Like readFile, but for binary files.

  9. readFile' :: FilePath -> IO String

    extra Extra

    The readFile' function reads a file and returns the contents of the file as a string. The file is fully read before being returned, as with getContents'.

  10. readFileUTF8' :: FilePath -> IO String

    extra Extra

    A strict version of readFileUTF8, see readFile' for details.

Page 1 of many | Next